﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;


using Meqs.Entity;
using Meqs.Logic.Interface;
using System.Collections.Generic;
using Castle.Windsor;

public partial class Education_SchoolAreaList : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    /// <summary>
    /// 获取所有的学区信息
    /// </summary>
    /// <returns></returns>
    [System.Web.Services.WebMethod]
    public static List<SchoolArea> GetSchoolArea()
    {
        ISchoolAreaLogic areaLogic = Container<ISchoolAreaLogic>.Instance;
        List<SchoolArea> areaList = (List<SchoolArea>)areaLogic.FindAll();
        return areaList;
    }

}
